//
//  MDNetworkUtils.h
//  MideaWorld_Zizhu
//
//  Created by Minus on 4/23/15.
//  Copyright (c) 2015 Minus. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFHTTPRequestOperationManager.h"

@interface MDNetworkUtils : AFHTTPRequestOperationManager

+ (instancetype)getInstance;

- (void)post:(NSString *)url parameters:(id)params completion:(void (^)(NSString *responseString, NSError *error))completion;
- (void)upload:(NSString *)url parameters:(id)params image:(UIImage *)image completion:(void(^)(NSString *responseString, NSError *error))completion;

@end
